import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/biz/deviceapitool/` + url, ...arg)

/**
 *
 * @author kongxm
 * @date  2022/11/13 16:14
 **/
export default {
	bizDeviceApiToolOpenDoor(data) {
		return request('opendoor', data)
	},
	bizDeviceApiToolCloseDoor(data) {
		return request('closedoor', data)
	},
	bizDeviceApiToolInventory(data) {
		return request('inventoy', data)
	}
}
